package com.cxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    //总支书记
    public static final String GENERAL_PARTY ="4";
    //支部书记
    public static final String BRANCH_PARTY="3";
    //普通党员
    public static final String PARTY_MEMBER="1";
    //支部委员
    public static final String BRANCH_COMMISSIONER="2";


    private Long id;
    private String name;
    private String gender;//性别 1.男2.女
    private String phone;//电话
    private String email; //邮箱
    private String userType;//用户类型1.支部委员2.普通委员3.支部书记4.总支书记
    private String password;//密码
    private String username;//用户名
    private Long taskId;

}
